import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
 
// 修改后的ReactDom方法
ReactDOM.createRoot(document.getElementById('root')) .render(
    <React.StrictMode>
       <App />
    </React.StrictMode>
);